<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>大会员</title>
    <link rel="stylesheet" th:href="@{/css/ByHuiYua.css}">
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}" />
    <link rel="stylesheet" th:href="@{/css/BVideo.css}" />
</head>
<body>
    <div class="container-fluid bmTopDiv">
        <div class="col-md-1 bmTopLogoFont">
            <h3>BhSyVideo</h3>
        </div>
        <div class="col-md-2 bmTopXxDiv">
            <ul class="">
                <li class="bmToplif"><a style="text-decoration: none;color: white" th:href="@{/bhsy/theMain}"> 首页</a></li>
            </ul>
        </div>
    </div>

    <input type="text" id="ByUserId" th:value="${uid}" style="display: none">
    <form action="/order/alipay" method="post" style="display: none">
        商品订单:
        <input type="text" id="outTradeNo" name="outTradeNo" value="zfb1223424">
        订单名称:
        <input type="text" id="subject" name="subject" value="大会员">
        付款金额:
        <input type="text" id="totalAmount" name="totalAmount" value="30">
        商品描述:
        <input type="text" id="body" name="body" value="BhSyVideo大会员">
        <input id="temiHuiY" type="submit" value="提交">
    </form>
    <div class="HuiYuaTop">
        <img th:src="@{/images/HImgAll/HuiYuaTop.png}">
        <div class="ByhuiyuaDiv">
            <p>月度大会员</p>
            <h4>￥30</h4>
        </div>
        <input type="button" id="byHy" value="购买">
    </div>

</body>
<script th:src="@{/js/jquery-360.min.js}"></script>
<script>
    $(function () {
        var spId = getByShopId();
        $("#outTradeNo").val(spId);
        $("#byHy").click(function () {
            $("#temiHuiY").click();
        })
    })
    function getByShopId(){
        var date = new Date;
        var shopId = "huiyua"+$("#ByUserId").val()+"Y"+date.getFullYear()+"M"+date.getMonth()+1+"D"+(date.getDate()+date.getMinutes()+date.getMilliseconds());
        return shopId;
    }
</script>
</html>